﻿using EMS.system.Entityies.BaseData;
using EMS.system.Entityies.MasterData.CustomerManagementModel;
using EMS.system.IEntityAppService.MasterData.CustomerManagementIService.CustomerManagementDTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace EMS.system.IEntityAppService.MasterData.CustomerManagementIService
{
    public interface ICustomerManagementAppService : IApplicationService
    {
        Task<int> AddCustomerManagement(CustomerManagementInsertDTO dto);

        PagedResult GetCustomerManagement(string? code, string? name, string? forshort, int page = 1, int limit = 2);

        int DeleteCustomerManagement(int id);

        CustomerManagement GetCustomerById(int id);
        Task<int> UpdateCustomer(CustomerManagementUpdateDTO dto);
        Task<List<DictItem>> GetDictItem(int id=22);

    }
}
